package 链表;

/**
 * @author 陈艺博
 * @date 2021-02-18 10:47
 * @description 测试类
 **/
public class TestListNode {
    public static void main(String[] args) {
        ListNode node6 = new ListNode(6, null);
        ListNode node5 = new ListNode(5, node6);
        ListNode node4 = new ListNode(4, node5);
        ListNode node3 = new ListNode(3, node4);
        ListNode node2 = new ListNode(2, node3);
        ListNode node1 = new ListNode(1, node2);
//        System.out.println(new _203_remove_linked_list_elements_移除链表元素().removeElements(node1, 2));
        System.out.println(new _876_middle_of_the_linked_list_链表的中间结点().middleNode(node1));
    }
}
